﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace DomainModel
{
    [Table(Name = "Details")]
    public class Detail
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public Int32 DetailID { get; set; }
        [Column]
        public Int32 rf_OrderID { get; set; }
        [Column]
        public String PartNumber { get; set; }
        [Column]
        public String NameOfGood { get; set; }
        [Column]
        public Int32 Quantity { get; set; }
        [Column]
        public Decimal StartPrice { get; set; }
        [Column]
        public Decimal EndPrice { get; set; }
    }
}
